package com.ledi.guns.common.persistence.model;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.Version;

/**
 * <p>
 * 申请合作
 * </p>
 *
 * @author zhongxp
 * @since 2018-10-08
 */
@TableName("t_apply_cooperate")
@Data
public class ApplyCooperate extends Model<ApplyCooperate> {

	private static final long serialVersionUID = 1L;

	private Long id;
	/**
	 * 联系人姓名
	 */
	@TableField("apply_name")
	private String applyName;
	/**
	 * 联系方式
	 */
	@TableField("contact_tel")
	private String contactTel;
	/**
	 * 省
	 */
	@TableField("province_code")
	private String provinceCode;
	/**
	 * 市
	 */
	@TableField("city_code")
	private String cityCode;
	/**
	 * 区
	 */
	@TableField("district_code")
	private String districtCode;
	@TableField("create_time")
	private Date createTime;
	@TableField("update_time")
	private Date updateTime;
	@TableField("updater_role")
	private String updaterRole;
	@TableField("updater_id")
	private Long updaterId;
	/**
	 * 是否删除：0-未删除；1-已删除
	 */
	@TableField("is_delete")
	private Integer isDelete;
	/**
	 * 类型0学校1代理商
	 */
	private Integer type;
	/**
	 * 状态0-未处理；1处理中；2已处理；
	 */
	private Integer status;
	@Version
	private int versionNo;

	@Override
	protected Serializable pkVal() {

		return id;
	}

}
